import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)
const RestaurantMenu = {
  path: '/restaurant',
  component: Layout,
  name: '点餐管理',
  meta: {
    title: '点餐管理',
    icon: 'chart'
  },
  authority: 'restaurant',
  children: [{
    path: 'restaurantManager',
    component: _import('cms/restaurant/restaurant'),
    name: '餐厅信息管理',
    meta: {
      title: '餐厅信息管理',
      icon: 'chart'
    },
    authority: 'restaurantManager'
  }, {
    path: 'tableManager',
    component: _import('cms/restaurant/table'),
    name: '餐桌信息管理',
    meta: {
      title: '餐桌信息管理',
      icon: 'chart'
    },
    authority: 'tableManager'
  }, {
    path: 'reservationManager',
    component: _import('cms/restaurant/reservation'),
    name: '预订信息管理',
    meta: {
      title: '预订信息管理',
      icon: 'chart'
    },
    authority: 'reservationManager'
  }, {
    path: 'dishesCategoryManager',
    component: _import('cms/restaurant/dishesCategory'),
    name: '菜品类目管理',
    meta: {
      title: '菜品类目管理',
      icon: 'chart'
    },
    authority: 'dishesCategoryManager'
  }, {
    path: 'dishesManager',
    component: _import('cms/restaurant/dishes'),
    name: '菜品信息管理',
    meta: {
      title: '菜品信息管理',
      icon: 'chart'
    },
    authority: 'dishesManager'
  }, {
    path: 'shoppingCartManager',
    component: _import('cms/restaurant/shoppingCart'),
    name: '购物车信息管理',
    meta: {
      title: '购物车信息管理',
      icon: 'chart'
    },
    authority: 'shoppingCartManager'
  }, {
    path: 'distributionManager',
    component: _import('cms/restaurant/distribution'),
    name: '配送信息管理',
    meta: {
      title: '配送信息管理',
      icon: 'chart'
    },
    authority: 'distributionManager'
  }, {
    path: 'appraisalManager',
    component: _import('cms/restaurant/appraisal'),
    name: '评价信息管理',
    meta: {
      title: '评价信息管理',
      icon: 'chart'
    },
    authority: 'appraisalManager'
  }, {
    path: 'appraisalDetailManager',
    component: _import('cms/restaurant/appraisalDetail'),
    name: '评价详情信息',
    meta: {
      title: '评价详情信息',
      icon: 'chart'
    },
    authority: 'appraisalDetailManager'
  }]
}
export default RestaurantMenu
